﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace RzCorporativo.Externo.Controllers
{
    public class InscricaoController : ApiController
    {
        // GET api/inscricao
        public IEnumerable<RzCorportativo.Lib.Vaga> Get()
        {
            // System.Web.HttpContext.Current.Response.AppendHeader("Access-Control-Allow-Origin", "*");
            return RzCorportativo.Lib.Vaga.Listar(new RzCorportativo.Lib.Vaga()
            {
                Ativo = true,
                TipoVaga = "2"
            });
        }

        // GET api/inscricao/5
        public string Get(int id)
        {
            return "value";
        }

        // POST api/inscricao
        public void Post([FromBody]string value)
        {
        }

        // PUT api/inscricao/5
        public void Put(int id, [FromBody]string value)
        {
        }

        // DELETE api/inscricao/5
        public void Delete(int id)
        {
        }
    }
}
